#pragma once

#if !defined(_MKVERTEX_H_)
#define _MKVERTEX_H_

#include "MKdef.h"

class MK_API MKVertex
{
public:
    double x = 0, y = 0;
public:
    static MKVertex* Create();
    void Destroy();

    bool operator==(const MKVertex& vt) const;
    bool operator==(const MKVertex* vt) const;
    bool operator!=(const MKVertex& vt) const;
    bool operator<(const MKVertex& vt) const;
    bool operator<=(const MKVertex& vt) const;
    bool operator>(const MKVertex& vt) const;
    bool operator>=(const MKVertex& vt) const;
protected:
    MKVertex();
    virtual ~MKVertex();
};

#endif